﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://wubiyu.cnblogs.com">
<head>
      <title></title>
      <link href="../../Theme/DomExtGray/gray.min.css" rel="Stylesheet" type="text/css" />
      <link href="PageModel.css" rel="Stylesheet" type="text/css" />
      <script type="text/javascript" src="../../domExt.min.js"></script>
</head>
<body>
      <div class="fun_title">
            _h.GetUrlParam();
      </div>
      <div class="fun_content">
            描述：获取URL中的GET传递的参数<br />
       </div>
      <div class="fun_title2">
            参数:
      </div>
      <div class="fun_content2">
            <strong>Retrun:</strong><br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            返回对象： 参数Hash字典对象<br /><br />
      </div>
      <div class="fun_title2">
            示例:
      </div>
      <div class="code">
            例子：<br />
            Url:http://www.xxx.com/home/main.htm?id=&#39;ssss&#39;&amp;name=&quot;wby&quot;;<br />
            var par = _h.GetUrlParam();<br />
            alert(par[&quot;id&quot;]);//输出ssss;<br />
            alert(par[&quot;name&quot;]);//输出wby;</div>
      <br />
  
</body>
</html>
